Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@mikehostetler
mikehostetler / jev_evaluate.livemd
Last active September 19, 2026 13:01
Evaluate issues with Jev using ReqLLM and a plain Elixir GenServer

Evaluate issues with Jev and ReqLLM

Section

Run in Livebook

This notebook teaches the new ReqLLM.evaluate/4 API. It starts with one model call. It then uses a plain GenServer to manage work. It does not use Jido or a Jev.Server package.

Jev is an evaluation model. It takes one text or JSON state and a map of named questions. It returns answers, not chat text. ReqLLM sends these questions to TypeSafe and returns a normal %ReqLLM.Response{}. Our Elixir code then turns the answers into issue labels.

@denji
denji / 01-nvidia.conf
Last active September 19, 2026 12:58
/etc/modprobe.d/nvidia.conf.ini
# /etc/modprobe.d/nvidia.conf
#
# NVIDIA Linux kernel module options.
# Last audited against: open-gpu-kernel-modules 595.71.05
#
# Parameter types: all parameters are NvU32 (uint) unless noted as "string".
# The Linux kernel module_param() system accepts hex notation (0x...) for uint
# parameters; decimal and hex are both valid and equivalent.
#
# Some options are experimental or reserved for internal testing. Defaults may
@angela-d
angela-d / ssh-shortcuts.md
Created March 30, 2018 05:54
SSH Terminal Alias Shortcuts

SSH Alias Shortcuts

Instead of logging into a remote server long-form, like ssh -i ~/.ssh/angela root@[host] -p22 ... make shortcuts!

ssh remoteserver

...and you're in.

@DomeniLocke
DomeniLocke / readme.md
Created July 15, 2026 11:34
Best Instant Indexing Tools Compared for Cost, Speed and Performance

Best Instant Indexing Tools Compared by Speed, Price & Real Results (2026)

Choosing the best instant indexing tool is not only about speed. Many tools claim to get pages discovered quickly, but website owners need to compare them based on actual usefulness, pricing, workflow, reliability, and SEO value.

In 2026, instant indexing tools are widely used by bloggers, agencies, affiliate marketers, publishers, and eCommerce websites that want faster URL discovery.

Best Instant Indexing Tools You Should Go For

  1. Rocket Indexer โ€“ https://snipr.is/Cq8vwDP ๐Ÿ‘ˆ๐Ÿป Click Here
  2. 2minuteindex.com โ€“ ๐Ÿ‘ˆ๐Ÿป Click Here
@ennbou
ennbou / xcode_mcp.json
Created August 19, 2026 22:32
This is the reference for the Xcode 27 MCP Server tools list.
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": [
{
"description": "Add a new entitlement to the project's entitlements file.\n\nMost Apple APIs do NOT require an entitlement. Only use this tool when a\nfeature requires a code-signing entitlement. These are things like access\nto protected hardware, sandboxed data stores shared between apps, paid\ntransaction processing, or privileged inter-process communication.\n\nDo NOT use this tool or add an entitlement for:\n- Adding UI components or using standard frameworks (SwiftUI, UIKit, MapKit, AVFoundation, CoreLocation, etc.)\n- Privacy usage descriptions โ€” those are Info.plist keys, not entitlements. You should use the AddInfoPlist tool.\n- General feature development that doesn't involve a restricted system capability\n\nWhen in doubt, do NOT call this tool or add an entitlement. If you run\ninto debugging issues after adopting a new API โ€” such as failures\nconnecting to system XPC services โ€” you can add the entitlement then.\n\nParam
@VAndrJ
VAndrJ / HighPriorityGestureMRE.swift
Last active September 19, 2026 12:55
List scroll issue iOS 18+, Xcode 16+
struct ContentView: View {
@State private var translationWidth = 0.0
var body: some View {
VStack {
List(0...1000, id: \.self) {
Text("\($0)")
}
Text("\(translationWidth)")
.padding(16)
@r3code
r3code / Readme.md
Last active September 19, 2026 12:53
kinescope.io video downloader

kinescope.io video downloader

  1. Install python3, download tools: ffmpeg and N_m3u8DL-RE
  2. Put kdl.py, ffmpeg and N_m3u8DL-RE into same folder
  3. Run python kdl.py it will ask you to input kinescope embed link (e.g. https://kinescope.io/embed/1234534) and referrer link (e.g. https://videos.mysite.org). kinescope forbids to access without a referrer.
  4. Wait for a download copletion.

kdl.py can automatically select the best quality of a video or you can choose it in a menu provided by N_m3u8DL-RE.
ffmpeg receives parts of the selected video and an audio and muxes them into output mp4 file.

@yanhua1010
yanhua1010 / AGENTS.md
Last active September 19, 2026 12:50
CLAUDE.md โ€” ๅ‡ๅฐ‘ LLM ๅธธ่ง็ผ–็ ้”™่ฏฏ็š„่กŒไธบๅ‡†ๅˆ™๏ผˆๅซๆฅๆบไผ˜ๅ…ˆ็บงๆขฏๅญ๏ผ‰

AGENTS.md

็”จไบŽๅ‡ๅฐ‘ LLM ๅธธ่ง็ผ–็ ้”™่ฏฏ็š„่กŒไธบๅ‡†ๅˆ™ใ€‚ๅฏไธŽ้กน็›ฎ็‰นๅฎšๆŒ‡ไปคๅˆๅนถไฝฟ็”จใ€‚

ๆƒ่กก่ฏดๆ˜Ž๏ผš ่ฟ™ไบ›ๅ‡†ๅˆ™ๅ€พๅ‘ไบŽ่ฐจๆ…Ž่€Œ้ž้€Ÿๅบฆใ€‚ๅฏนไบŽ็็ขŽ็š„ไปปๅŠก๏ผŒ่ฏท่‡ช่กŒๅˆคๆ–ญใ€‚

1. ็ผ–็ ๅ‰ๆ€่€ƒ

ไธ่ฆๅ‡่ฎพใ€‚ไธ่ฆ้š่—ๅ›ฐๆƒ‘ใ€‚ๅ‘ˆ็Žฐๆƒ่กกใ€‚